package com.project.shtp.pojo.web.vo;

import java.util.Arrays;

public class MyGoodsInfo {
    private Integer goodsId;
    private String goodsTitle;
    private Double goodsPrice;
    private byte[] goodsImage;
    private String goodsSchool;
    private String goodsTransferWay;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsTitle() {
        return goodsTitle;
    }

    @Override
    public String toString() {
        return "MyGoodsInfo{" +
                "goodsId=" + goodsId +
                ", goodsTitle='" + goodsTitle + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsImage=" + Arrays.toString(goodsImage) +
                ", goodsSchool='" + goodsSchool + '\'' +
                ", goodsTransferWay='" + goodsTransferWay + '\'' +
                '}';
    }

    public void setGoodsTitle(String goodsTitle) {
        this.goodsTitle = goodsTitle;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public byte[] getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(byte[] goodsImage) {
        this.goodsImage = goodsImage;
    }

    public String getGoodsSchool() {
        return goodsSchool;
    }

    public void setGoodsSchool(String goodsSchool) {
        this.goodsSchool = goodsSchool;
    }

    public String getGoodsTransferWay() {
        return goodsTransferWay;
    }

    public void setGoodsTransferWay(String goodsTransferWay) {
        this.goodsTransferWay = goodsTransferWay;
    }

    public MyGoodsInfo() {
    }

    public MyGoodsInfo(Integer goodsId, String goodsTitle, Double goodsPrice, byte[] goodsImage, String goodsSchool, String goodsTransferWay) {
        this.goodsId = goodsId;
        this.goodsTitle = goodsTitle;
        this.goodsPrice = goodsPrice;
        this.goodsImage = goodsImage;
        this.goodsSchool = goodsSchool;
        this.goodsTransferWay = goodsTransferWay;
    }
}
